<template>
  <!-- 软件岗位薪资饼图 -->
  <img v-if="isFinish" id="bottom_4" :src="imgSrc" alt="">
</template>

<script>
import { getJobName } from "@/api/page2Api";
export default {
  name: "",
  data() {
    return {
      imgSrc: '',
      isFinish: false
    };
  },
  methods: {
    getData() {
      this.isFinish = false
      getJobName().then((res1) => {
        console.log(res1,'hahahha221');
        this.isFinish = true
        this.imgSrc = res1.data
      });
    }
  },
  mounted() {
   this.getData();
  },
};
</script>

<style lang="less" scoped>
img {
    padding: 0;
}
</style>